package com.example.elasearch.dao;

import com.example.elasearch.bean.Person;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @Descriptin:
 * @ClassName: PersonDao
 */
public interface PersonDao extends CrudRepository<Person,String> {

    List<Person> findByName(String name);
}
